package com.blue.prepose.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 支付配置表(PayConfig)实体类
 *
 * @author xiaoyiming
 * @since 2020-05-09 00:47:54
 */
public class PayConfig implements Serializable {
    private static final long serialVersionUID = 810937286377015922L;
    /**
    * 主键,支付配置ID
    */
    private Long id;
    /**
    * 支付类型 1.支付宝 2.微信
    */
    private Integer payType;
    /**
    * 状态 1.开启 2.关闭
    */
    private Integer status;
    /**
    * 开放平台应用iD
    */
    private String appId;
    /**
    * 微信商户号
    */
    private String mchId;
    /**
    * 微信合作秘钥，用来加签
    */
    private String parterKey;
    /**
    * 收款支付宝ID，以2088开头由16位纯数字组成的字符串，一般情况下收款账号就是签约账号
    */
    private String sellerId;
    /**
    * 合作身份者ID，签约账号
    */
    private String partner;
    /**
    * 密钥(是APPID对应的接口密码，用于获取接口调用凭证access_token时使用。)(公众号支付和app支付不同)
    */
    private String appSecret;
    /**
    * 安全校验码(Key)，MD5密钥
    */
    private String secureKey;
    /**
    * 私钥
    */
    private String privateKey;
    /**
    * 公钥
    */
    private String publicKey;
    /**
    * 加密方式
    */
    private String signType;
    /**
    * 商户证书路径
    */
    private String keyPath;
    /**
    * 证书路径(退款需要)
    */
    private String apiClientCertPath;
    /**
    * 扩展参数
    */
    private String extendParam;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 更新时间
    */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getParterKey() {
        return parterKey;
    }

    public void setParterKey(String parterKey) {
        this.parterKey = parterKey;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getSecureKey() {
        return secureKey;
    }

    public void setSecureKey(String secureKey) {
        this.secureKey = secureKey;
    }

    public String getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getKeyPath() {
        return keyPath;
    }

    public void setKeyPath(String keyPath) {
        this.keyPath = keyPath;
    }

    public String getApiClientCertPath() {
        return apiClientCertPath;
    }

    public void setApiClientCertPath(String apiClientCertPath) {
        this.apiClientCertPath = apiClientCertPath;
    }

    public String getExtendParam() {
        return extendParam;
    }

    public void setExtendParam(String extendParam) {
        this.extendParam = extendParam;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}